package com.example.module_mine.ui.mine

import android.content.Intent
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.example.lib_common.Router
import com.example.lib_common.base.BaseFragment
import com.example.lib_common.base.BaseViewModel
import com.example.module_mine.R
import com.example.module_mine.databinding.FragmentMineBinding
import com.example.module_mine.viewmodel.LoginViewModel

@Route(path = Router.Ui.MineFragment)
class MineFragment: BaseFragment<BaseViewModel, FragmentMineBinding>() {
    override val mLayoutResId: Int
        get() = R.layout.fragment_mine

    override fun initData() {
        super.initData()
        mBinding.login.setOnClickListener {

            startActivity(Intent(requireActivity(), LoginActivity::class.java))
            }
    }
}